import React from 'react';
import styles from './index.less';
import { Menu } from 'antd';
import {
  MailOutlined,
  AppstoreOutlined,
  SettingOutlined,
} from '@ant-design/icons';

function handleClick(e: any) {
  console.log('click', e);
}

const { SubMenu } = Menu;

export default function idnex() {
  return (
    <Menu onClick={handleClick} className={styles.menu} mode="vertical">
      <Menu.Item key="1">返回首页</Menu.Item>
      <Menu.Item key="2">账户管理</Menu.Item>

      <SubMenu key="sub1" title="更换主题">
        <Menu.Item key="3">Option 9</Menu.Item>
        <Menu.Item key="4">Option 10</Menu.Item>
        <Menu.Item key="5">Option 11</Menu.Item>
        <Menu.Item key="6">Option 12</Menu.Item>
      </SubMenu>
    </Menu>
  );
}
